service tcp keepalives

This command controls the tcp keepalive functionality of newly created sockets.

Syntax

service tcp keepalives enable
service tcp keepalives interval <interval>
service tcp keepalives probe <probe>
service tcp keepalives time <time>

Command

Description

enable

Enables the TCP keepalive. The default value is "Disabled".

interval

Defines the interval between sub sequential keepalive probes in seconds. The default value is 75 seconds. The range is1-65355.

probe

Defines the number of unacknowledged probes to send before considering the connection inactive and notifying the application layer. The default value is 9 probes. The range is 1-65355.

time

Defines the interval between the last data packet sent and the first keepalive probe. The default value is 7200 seconds. The range is 1-65355.

Note

This command is applicable only to data-router functionality.
The default values are active only if keep-alive is enabled.

Command Mode

Privileged User

Example

This example enables tcp keepalives.

(config-data)# service tcp keepalives enable